<?php
class Back_Form_Upload extends Jnd_Form
{

    public function init()
    {
        $champ = new Jnd_Form_Element_UploadJnd("files");
        $champ->setAttribs(array(
            'action' => array(
                "module" => "back", 
                "controller" => "upload", 
                "action" => "upload", 
                "complement" => "/type/photos/categorie/galerie/id/{ID}"
            )
        ));
        $champs[] = $champ;
        
        $this->setName("upload");
        
        $this->addElements($champs);
    }
}
